package com.example.hellonotes.activity;


import com.example.hellonotes.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class NaviFragment extends Fragment {

	private TextView tv1;
	private View rootView;// 缓存Fragment view
	 private FragmentManager fragmentManager;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO 自动生成的方法存根
		super.onCreate(savedInstanceState);
	}
	
	public void initView() {
		tv1 = (TextView)rootView.findViewById(R.id.tv1);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		// TODO 自动生成的方法存根
		
		rootView = inflater.inflate(R.layout.fragment_navi, null);
		 fragmentManager = getFragmentManager();
		 initView();
		 return rootView;
	}
}
